﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LibraryManageSystem
{
    public partial class FormAdmin : Form
    {
        public FormAdmin()
        {
            InitializeComponent();
        }

        private void 用户管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void admin_TextChanged(object sender, EventArgs e)
        {

        }

        private void 管理员信息修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 账号注销ToolStripMenuItem_Click(object sender, EventArgs e)
        {
			//删除数据库中账号信息
			if (DialogResult.Yes == MessageBox.Show("确定注销该账号吗？", "消息", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
			{
                //注销操作
				
			}
		}

        private void 安全退出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (DialogResult.Yes == MessageBox.Show("确定退出吗？", "消息", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
            {
                //退出
                this.Close();
            }
        }
    }
}
